#ifndef __KEY_H__
#define __KEY_H__


#define GPIO_KEY P1


//1
void Delay_1ms(unsigned char z);
void Delay1000ms();

//2
unsigned char KEY_Scan(void);
void KEY_Len_Display(unsigned char length, unsigned char x, unsigned char y);
unsigned char KEY_Pwd_Compare(unsigned char* string1, unsigned char* string2, unsigned char length);
void KEY_Judge_Old_Pwd(void);
void KEY_Set_New_Pwd(void);

void KEY_Pros(void);



#endif
